<script th:src ="@{/assets/js/jquery.min.js}"></script>
<script type="text/javascript">
$("input[name]").prop("value",${title})
$("#form1").on("submit",function(){
	var title =$("input[name]").val();

location.href="@{(?title = "+title+")}";

	
	
});

</script>